<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      a {
        text-decoration: none;
        color: black;
      }
      a:hover {
        color: blue;
      }
      header {
        display: flex;
        width: 500px;
        flex-flow: row nowrap;
        justify-content: space-around;
      }

      .mydiv {
        width: 100px;
        height: 100px;
      }

      section > .mydiv:nth-of-type(1) {
        background-color: antiquewhite;
        display: flex;
        flex-flow: row wrap;
      }
      section > .mydiv:nth-of-type(1) > div {
        width: 50%;
        height: 50%;
      }

      section > .mydiv:nth-of-type(1) > div:nth-of-type(1) {
        flex-basis: 30%;
        height: 50%;
      }
      section > .mydiv:nth-of-type(1) > div:nth-of-type(2) {
        width: 70%;
        height: 50%;
      }
      section > .mydiv:nth-of-type(2) {
        background-color: aqua;
      }
      section > .mydiv:nth-of-type(3) {
        background-color: blueviolet;
      }
      section > .mydiv:nth-of-type(4) {
        background-color: burlywood;
      }
      section > .mydiv:nth-of-type(5) {
        background-color: cadetblue;
      }
      section > .mydiv:nth-of-type(6) {
        background-color: chartreuse;
      }
      section > .mydiv:nth-of-type(7) {
        background-color: chocolate;
      }
      section > .mydiv:nth-of-type(8) {
        background-color: coral;
      }
      section > .mydiv:nth-of-type(9) {
        background-color: cornflowerblue;
      }
      .box {
        width: 300px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
      }

      .news {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-around;
        width: 400px;
      }

      .news .new {
        flex: 1 0 200px;
        border: 1px solid black;
      }
    </style>
  </head>
  <body>
    <header>
      <a href=""><div class="nav">新闻</div></a>
      <div class="nav">地图</div>
      <div class="nav">贴吧</div>
      <div class="nav">视频</div>
      <div class="nav">图片</div>
    </header>

    <section class="box">
      <div class="mydiv">
        <div>1</div>
        <div>2</div>
        <div>3</div>
        <div>4</div>
      </div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
      <div class="mydiv"></div>
    </section>

    <div class="news">
      <div class="new"></div>
      <div class="new"></div>
      <div class="new"></div>
      <div class="new"></div>
      <div class="new"></div>
    </div>
  </body>
</html>
